package example02;

public class Example02 {
    public static void main(String[] args) {
        ThreadDemo threadDemo = new ThreadDemo();
        Thread thread = new Thread(threadDemo);
        thread.start();
        for (int i = 0; i < 5; i++) {
            System.out.println("主方法main()执行了");
        }
    }
}
